package com.atguigu.lease.common.constant;

/**
 * ClassName: RedisConstant
 * Package: com.atguigu.lease.common.constant
 * Description:
 * 封装 Redis常量
 * @Autor: xvyy
 * @Create: 2024/11/20 - 20:17
 * @Version: v1.0
 */
public class RedisConstant {
    //todo 用户管理员登录验证码前缀
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    //todo 用户管理员登录验证码重发时间间隔(秒)
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;
    //todo app用户登录验证码前缀
    public static final String APP_LOGIN_PREFIX = "app:login:";
    //todo app用户登录验证码重发时间间隔(秒)
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    //todo app用户登录验证码有效期(秒)
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;
}
